package cn.com.twoke.game.client.games.tic_tac_toe.entity.data;

import cn.com.twoke.game.client.games.gomoku.entity.Chess;
import cn.com.twoke.game.client.games.tic_tac_toe.constants.TicTacToeChess;

import java.io.Serializable;

public class DropData implements Serializable {

    private int x;
    private int y;
    private TicTacToeChess.Type type;
    private String fromId;

    public DropData(int x, int y, TicTacToeChess.Type type, String fromId) {
        this.x = x;
        this.y = y;
        this.type = type;
        this.fromId = fromId;
    }

    public String getFromId() {
        return fromId;
    }

    public void setFromId(String fromId) {
        this.fromId = fromId;
    }

    public TicTacToeChess.Type getType() {
        return type;
    }

    public void setType(TicTacToeChess.Type type) {
        this.type = type;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}